package com.jade.store.wechat.service;

import com.jade.bss.base.customer.Customer;
import com.jade.bss.db.BaseFacade;
import com.jade.store.wechat.entity.WechatMenu;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: JinYa 2009_jinya@163.com
 * Date: 2016-5-5
 * Time: 10:28
 * Version : 1.0
 * Remark:
 * History:
 */
public interface WechatMenuFacade extends BaseFacade {
    /**
     * 同步
     * @param customer
     * @param appid
     * @return
     * @throws Exception
     */
    List<WechatMenu> synchronize(Customer customer, String appid) throws  Exception;
    /**
     * 同步
     * @param customer
     * @param appid
     * @return
     * @throws Exception
     */
    void send(Customer customer, String appid) throws  Exception;
}
